package org.example.petsystem.mapper;

import org.apache.ibatis.annotations.Mapper;
import java.util.List;
import java.util.Map;

@Mapper
public interface AddressMapper {
    List<Map<String, Object>> getUserAddresses(Map<String, Object> params);
    void insertAddress(Map<String, Object> params);
    void updateAddress(Map<String, Object> params);
    void deleteAddress(Map<String, Object> params);
    void setDefaultAddress(Map<String, Object> params);
    void resetOtherDefaultAddresses(Map<String, Object> params);
    Map<String, Object> getAddressById(Map<String, Object> params);
}